<?php $this->placeholder('onReady')->captureStart() ?>
	$("#<?php echo $this->id_tablesorter?>").tablesorter(); 
    
    $('input[name=fecha]').daterangepicker()
    .click(function () {
		 var pos = $(this).offset();
         var outer= $(this).outerHeight()
         $('.ui-daterangepickercontain').css('top',pos.top+outer).css('left',pos.left)
	}).css('width','180px');
    
<?php $this->placeholder('onReady')->captureEnd() ?>

<?php

$script = <<<SCRIPT

SCRIPT;


if($script)$this->headScript()->appendScript($script);
?>

<?$this->headScript()->offsetSetFile(101,$this->baseUrl('js/daterangepicker.jQuery.js'));?>
<?$this->headScript()->offsetSetFile(102,$this->baseUrl('js/jquery-ui-timepicker-addon.js'));?>

<?$this->headLink()->appendStylesheet($this->baseUrl('css/ui.daterangepicker.css'));?>

<?php echo $this->insertarFila($this->controllerName,$this->idZona);?>


<table id="<?= $this->id_tablesorter?>" width="100%" class="tablesorter"> 
    <?=$this->partial('snnipet/caption.phtml',array('c'=>count($this->rows)))?>
    <thead>
		<tr>
			<th><?php echo $this->translate('Fecha');?></th> 
    		<th><?php echo $this->translate('Información');?></th> 
    		<th><?php echo $this->translate('Fecha de resolución');?></th> 
    		<th width="15%"><?php echo $this->translate('Proyectos afectados');?></th> 
            <th><?php echo $this->translate('Descripción');?></th>
            <th><?php echo $this->translate('Informe');?></th>
           	<th class="configure filter-false" ></th> 
    	</tr>
    </thead>
    <tbody>
        <?php echo $this->partialLoop($this->controllerName.'/fila.phtml', (array)$this->rows); ?>	
    </tbody>
</table>

